package com.jx.mlxg.service;

import com.jx.mlxg.entity.ApprovalFlow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jx.mlxg.entity.ApprovalNode;
import com.jx.mlxg.entity.ApprovalRecord;
import com.jx.mlxg.utils.ResponseResult;

import java.util.List;

/**
* @author Administrator
* @description 针对表【approval_flow】的数据库操作Service
* @createDate 2025-03-14 16:29:13
*/
public interface ApprovalFlowService extends IService<ApprovalFlow> {
    void startApprovalFlow(String orderId, Long userId);
    ResponseResult approve(String orderId, String approveStatus, String approveOpinion,boolean isAuto);
    ApprovalRecord getApprovalRecords(String orderId);
    ApprovalNode getCurrentNode(String orderId);
    void remindApprover(String orderId, Integer nodeId);
}
